{extend name="main/index" /}
{block name="main"}


<!-- Start right content -->
        <div class="content-page">
			<!-- ============================================================== -->
			<!-- Start Content here -->
			<!-- ============================================================== -->
            <div class="content">
								<!-- Page Heading Start -->
				<div class="page-heading">
            		<h1><i class='fa fa-check'></i>{$title}</h1>
            		            	</div>
            	<!-- Page Heading End-->	
								
				<!-- Your awesome content goes here -->
				<div class="row">
					<!-- <div class="col-sm-3 portlets"></div> -->
					<div class="col-sm-6 portlets">
						
						<div class="widget">
							<div class="widget-header transparent">
								<h2><strong>{$picture}</strong> Form</h2>
								<div class="additional-btn">
									<a href="#" class="hidden reload"><i class="icon-ccw-1"></i></a>
									<a href="#" class="widget-toggle"><i class="icon-down-open-2"></i></a>
									<a href="#" class="widget-close"><i class="icon-cancel-3"></i></a>
								</div>
							</div>
							<div class="widget-content padding">							
								<div id="basic-form">
									<form role="form" action="/admin/picture/" method="post" enctype="multipart/form-data">
									  <input type="hidden" name="courseid" value="{$courseid}">
									  <div class="form-group">
										<input type="file" class="btn btn-default" title="请选择图片文件"  name="pic">

										<p class="help-block">图片大小限制等条件</p>
									  </div>
									  <div class="form-group">
										<label for="inputEmail3" class="col-sm-2 control-label">封面</label>
										<div class="col-sm-10">
											<select class="form-control" name="cover">
											    <option value='1'>封面图片</option>
											    <option value='0'>详情图片</option>
											</select>
										</div>
										
									  </div>

									  <button type="submit" class="btn btn-default">添加</button>
									</form>
								</div>
							</div>
						</div>
						
					</div>
				</div>

				<div class="row">
					<!-- <div class="col-sm-3 portlets"></div> -->
					<div class="col-sm-6 portlets">
						
						<div class="widget">
							<div class="widget-header transparent">
								<h2><strong>{$unite}</strong> Form</h2>
								<div class="additional-btn">
									<a href="#" class="hidden reload"><i class="icon-ccw-1"></i></a>
									<a href="#" class="widget-toggle"><i class="icon-down-open-2"></i></a>
									<a href="#" class="widget-close"><i class="icon-cancel-3"></i></a>
								</div>
							</div>
							<div class="widget-content padding">						
								<div id="horizontal-form">
									<form class="form-horizontal" role="form" action="/unite_do/" method="post">
									  <input type="hidden" name="courseid" value="{$courseid}">
									  <div class="form-group">
										<label for="inputEmail3" class="col-sm-2 control-label">单元名</label>
										<div class="col-sm-10">
										  <input type="text" class="form-control" id="inputEmail3" placeholder="单元名" name="name">
										  <p class="help-block">单元名为2-16位中文汉字或者字母数字</p>
										</div>
									  </div>
									  <div class="form-group">
										<label for="inputPassword3" class="col-sm-2 control-label">pid</label>
										<div class="col-sm-10">
										  <input type="text" class="form-control" id="inputPassword3" value="0" name="pid" readonly>
										</div>
									  </div>
									  <div class="form-group">
										<label for="inputPassword3" class="col-sm-2 control-label">级别</label>
										<div class="col-sm-10">
											<input type="text" class="form-control" id="inputPassword3" name="level">
											<p>级别为2-5位中文汉字或者字母数字</p>
										  <!-- <select class="form-control" name="level">
										  	<option value='0'>试听课</option>
										    <option value='1'>导学课</option>
											<option value='0'>语音课</option>
										    <option value='1'>A1</option>
										    <option value='2'>A2</option>
										    <option value='3'>B1</option>
										    <option value='4'>B2</option>
										    <option value='5'>C1</option>
										    <option value='6'>C2</option>
										    
										  </select> -->
										</div>
									  </div>
									  <div class="form-group">
										<label for="inputEmail3" class="col-sm-2 control-label">状态</label>
										<div class="col-sm-10">
										  <select class="form-control" name="display">
										
										    <option value='1'>显示</option>
										    <option value='0'>隐藏</option>
										    
										  </select>
										  
										</div>
									  </div>
									  <div class="form-group">
										<div class="col-sm-offset-2 col-sm-10">
										  <button type="submit" class="btn btn-default">确认添加</button>
										</div>
									  </div>
									</form>
								</div>
							</div>
						</div>
						
					</div>
					
				</div>
				
				
				<!-- End of your awesome content -->
			
				            <!-- Footer Start -->
            <footer>
                Huban Creative &copy; 2014
                <div class="footer-links pull-right">
                	<a href="#">About</a><a href="#">Support</a><a href="#">Terms of Service</a><a href="#">Legal</a><a href="#">Help</a><a href="#">Contact Us</a>
                </div>
            </footer>
            <!-- Footer End -->			
            </div>
			<!-- ============================================================== -->
			<!-- End content here -->
			<!-- ============================================================== -->

        </div>
		<!-- End right content -->


{/block}